import Vue from "vue";
import Router from "vue-router";
import Home from "../page/Home/index";
import Money from "../page/Money/index";
import Ious from "../page/ious/index";
import Raise from "../page/raise/index";
import Download from "../page/special/download";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "home",
      component: Home
    },
    {
      path: "/money",
      name: "money",
      component: Money
    },
    {
      path: "/ious",
      name: "ious",
      component: Ious
    },
    {
      path: "/raise",
      name: "raise",
      component: Raise
    },
    {
      path: "/download",
      name: "download",
      component: Download
    }
  ],
  scrollBehavior() {
    return { x: 0, y: 0 };
  }
});
